//
//  RequestChannel.m
//  etionMisc
//
//  Created by wu jingxing on 12-11-21.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "RequestChannel.h"

#import "XMSWaitSync.h"

@interface CRequestChannel ()
{
    CRequestChannelPool *_channelPool;

    XMSWaitSync *_waitSync;
}

@end

@implementation CRequestChannel

@synthesize channelPool = _channelPool;

- (void)cancelRequest
{

}

- (void)waitingFinish
{
    if (_waitSync == nil)
        _waitSync = [XMSWaitSync new];
    [_waitSync wait];
}

- (void)stopWaiting
{
    [_waitSync stop];
}

- (void)dealloc
{
    [_waitSync release_mm];
    superdealloc_mm;
}

@end
